[index]
Choose Command
Syntax
check menuItem <item>
[of menu <submenu_name>] of menu <menu_name>
Description:
NOT AVAILABLE IN THE PLAYER
Issuing the choose command is equivalent to clicking on a tool in the toolbar. See the tool function for a list of valid tool names.
Notes
When copying and pasting bitmap objects, it is necessary to choose the Browse tool before the Paste operation. Otherwise, Oracle Media Objects copies the graphic inside the object and, within the original object, overlays the copied graphic on the original graphic.
Examples
Type the following lines into the Message Box and press Enter after each:
choose text tool choose rect tool choose browse tool
Notice that the appropriate tool is selected each time you press Enter.
Alternatively, try this example:
4. Add the following handler, which creates a copy of an object, to the button's script:
on mouseUp
select bitmap "square_template"
Copy
choose browse tool
Paste
set the location of the last bmp to 260, 70
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.